<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8">
<script type="text/javascript" src="js/util.js"></script>
<script type="text/javascript" src="js/mvc.js"></script>

<script type="text/javascript" src="lib/encryptjs/encrypt.js"></script>
</head>
<body>

<input>
<h3 htmlns="mvc"></h3>
<script type="text/javascript">

var model = new mvc.core.Model();
var view = new mvc.core.View('h3');
var ctrl = new mvc.core.Controller();

ctrl.listen = function(view, key, value){
	view[key](value || '');
};
model.bind('text', ctrl, view);

console.log(util.$('h3').namespaceURI)

util.$('input').oninput = function(){
	model.set('text', this.value);
};

</script>


</body>
</html>